import { createRouter, createWebHistory } from 'vue-router'

import Home from '../views/Home.vue'
import Profile from '../views/Profile.vue'
import Toolbox from '../views/Toolbox.vue'
import Developer from '../views/Developer.vue'
import Projects from '../views/Projects.vue'
import Data from '../views/Data.vue'
import Database from '../views/Database.vue'
import Models from '../views/Models.vue'
import Community from '../views/Community.vue'

const routes = [
  { path: '/', name: 'Home', component: Home },
  { path: '/profile', name: 'Profile', component: Profile },
  { path: '/toolbox', name: 'Toolbox', component: Toolbox },
  { path: '/developer', name: 'Developer', component: Developer },
  { path: '/projects', name: 'Projects', component: Projects },
  { path: '/data', name: 'Data', component: Data },
  { path: '/database', name: 'Database', component: Database },
  { path: '/models', name: 'Models', component: Models },
  { path: '/community', name: 'Community', component: Community }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
